﻿<%@ Page Title="" Language="C#" MasterPageFile="~/iCreateMasterPage.master" AutoEventWireup="true" CodeBehind="DashboardF.aspx.cs" Inherits="iCreatePortal.WebForm25" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<title>iCreate Portal - Dashboard</title>
    <style type="text/css">
        .Col1
        {
            height: 30px;
            width: 150px;
            text-align: left;
        }
        .Col2
        {
            text-align: left;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="PageContentPlaceHolder" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <table class="iCreatePage">
        <tr>
            <td class="iCreatePageLeftPanel" valign="top">
                &nbsp;<asp:Label ID="Label1" runat="server" Text="My Tasks" CssClass="iCreateContentLabel"></asp:Label><br />
                <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                    <ContentTemplate>
                        <asp:GridView ID="TasksGridView" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                            BorderStyle="None" EmptyDataText="&lt;No data to display&gt;" GridLines="None"
                            Width="100%" DataSourceID="XmlDataSource1">
                            <Columns>
                                <asp:CommandField EditText="Show" InsertVisible="False" ShowCancelButton="False"
                                    ShowEditButton="True">
                                    <HeaderStyle CssClass="iCreateContentLabel" Width="25px" />
                                    <ItemStyle CssClass="iCreateHeaderLabel" Width="25px" />
                                </asp:CommandField>
                                <asp:BoundField HeaderText="Project">
                                    <HeaderStyle CssClass="iCreateContentLabel" />
                                    <ItemStyle CssClass="iCreateHeaderLabel" />
                                </asp:BoundField>
                                <asp:BoundField HeaderText="Milestone">
                                    <HeaderStyle CssClass="iCreateContentLabel" Width="100px" />
                                    <ItemStyle CssClass="iCreateHeaderLabel" Width="100px" />
                                </asp:BoundField>
                                <asp:BoundField HeaderText="Type">
                                    <HeaderStyle CssClass="iCreateContentLabel" Width="100px" />
                                    <ItemStyle CssClass="iCreateHeaderLabel" Width="100px" />
                                </asp:BoundField>
                                <asp:BoundField HeaderText="Amount">
                                    <HeaderStyle CssClass="iCreateContentLabel" Width="100px" />
                                    <ItemStyle CssClass="iCreateHeaderLabel" Width="100px" />
                                </asp:BoundField>
                                <asp:BoundField HeaderText="Currency">
                                    <HeaderStyle CssClass="iCreateContentLabel" Width="100px" />
                                    <ItemStyle CssClass="iCreateHeaderLabel" Width="100px" />
                                </asp:BoundField>
                            </Columns>
                            <SelectedRowStyle Font-Bold="True" Font-Italic="True" />
                        </asp:GridView>
                    </ContentTemplate>
                </asp:UpdatePanel>                
                <br />
                <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                    <ContentTemplate>
                        <table class="iCreateGeneralTable" style="width: 400px;">
                            <tr>
                                <td colspan="2" style="height: 30px; text-align: left;">
                                    <asp:Label ID="Label2" runat="server" Text="Update Task" CssClass="iCreateHeaderLabel"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td class="Col1">
                                    <asp:Label ID="Label3" runat="server" Text="Project" CssClass="iCreateContentLabel"></asp:Label>
                                </td>
                                <td class="Col2">
                                    <asp:TextBox ID="TextBox1" runat="server" CssClass="iCreateHeaderLabel"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="Col1">
                                    <asp:Label ID="Label4" runat="server" Text="Milestone" CssClass="iCreateContentLabel"></asp:Label>
                                </td>
                                <td class="Col2">
                                    <asp:TextBox ID="TextBox2" runat="server" CssClass="iCreateHeaderLabel"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="Col1">
                                    <asp:Label ID="Label5" runat="server" Text="Type" CssClass="iCreateContentLabel"></asp:Label>
                                </td>
                                <td class="Col2">
                                    <asp:TextBox ID="TextBox3" runat="server" CssClass="iCreateHeaderLabel"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="Col1">
                                    <asp:Label ID="Label6" runat="server" Text="Currency" CssClass="iCreateContentLabel"></asp:Label>
                                </td>
                                <td class="Col2">
                                    <asp:TextBox ID="TextBox4" runat="server" CssClass="iCreateHeaderLabel"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="Col1">
                                    <asp:Label ID="Label10" runat="server" Text="Amount" CssClass="iCreateContentLabel"></asp:Label>
                                </td>
                                <td class="Col2">
                                    <asp:TextBox ID="TextBox8" runat="server" CssClass="iCreateHeaderLabel"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="Col1">
                                    <asp:Label ID="Label7" runat="server" Text="Remarks" CssClass="iCreateContentLabel"></asp:Label>
                                </td>
                                <td class="Col2">
                                    <asp:TextBox ID="TextBox5" runat="server" CssClass="iCreateHeaderLabel"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="Col1">
                                    <asp:Label ID="Label8" runat="server" Text="Factor for INR conversion" CssClass="iCreateContentLabel"></asp:Label>
                                </td>
                                <td class="Col2">
                                    <asp:TextBox ID="TextBox6" runat="server" CssClass="iCreateHeaderLabel"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="Col1">
                                    <asp:Label ID="Label9" runat="server" Text="Amount (INR)" CssClass="iCreateContentLabel"></asp:Label>
                                </td>
                                <td class="Col2">
                                    <asp:TextBox ID="TextBox7" runat="server" CssClass="iCreateHeaderLabel"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="Col1">
                                    &nbsp;
                                </td>
                                <td class="Col2">
                                    <asp:Button ID="Button1" runat="server" Text="Mark as processed" Width="171px" />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                        </table>
                    </ContentTemplate>
                </asp:UpdatePanel>
                <asp:XmlDataSource ID="XmlDataSource1" runat="server" DataFile="~/App_Data/MyTasks.xml">
                </asp:XmlDataSource>
            </td>
            <td class="iCreatePageRightPanel" valign="top">
                <table align="left" cellpadding="0" cellspacing="0">
                    <tr>
                        <td>
                            <asp:HyperLink ID="HyperLink1" runat="server" CssClass="iCreateLinkLabel" NavigateUrl="~/FEmployeeCTC.aspx">&nbsp;Employee CTC</asp:HyperLink>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</asp:Content>
